package exp07gui.chains;


public class Main  {
    public static void main(String[] args) {
        Handler[] handlers=new Handler[]{
                new TinyHandler(),new MiddleHandler(),new HugeHandler()
        };
        handlers[0].setNextHandler(handlers[1]);
        handlers[1].setNextHandler(handlers[2]);
        handlers[0].handle(1500);

    }
}